var fn_getUserinfo = async(ctx, next) => {
    "use strict";
    var name = ctx.params.name;
    var sql = require('../mysql.js');
    var sqls = 'SELECT userName FROM `user`';
    ctx.response.body = await sql(sqls);
};

module.exports = {
    'POST /api/getUserinfo': fn_getUserinfo
};